﻿<Window 
    x:Class="TfsWorkbench.TaskBoardUI.ViewWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:TaskBoardUI="clr-namespace:TfsWorkbench.TaskBoardUI" 
    xmlns:Properties="clr-namespace:TfsWorkbench.TaskBoardUI.Properties" 
    Title="{Binding ElementName=PART_ViewControl, Path=SwimLaneView.Title}" 
    Height="{Binding Source={x:Static Properties:Settings.Default}, Path=WindowHeight, Mode=OneTime}" 
    Width="{Binding Source={x:Static Properties:Settings.Default}, Path=WindowWidth, Mode=OneTime}" 
    Left="{Binding Source={x:Static Properties:Settings.Default}, Path=WindowLeft, Mode=OneTime}" 
    Top="{Binding Source={x:Static Properties:Settings.Default}, Path=WindowTop, Mode=OneTime}"
    WindowState="{Binding Source={x:Static Properties:Settings.Default}, Path=WindowState, Mode=OneTime}"
    Closed="OnWindowClosed">
    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/TfsWorkbench.UIElements;Component/Resources/ApplicationStyles.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>
    <Grid Background="{DynamicResource MainBackground}">
        <TaskBoardUI:ViewControl x:Name="PART_ViewControl" />
    </Grid>
</Window>
